package com.piccolo.wrapper.client.component.Overlay;

import com.piccolo.wrapper.client.component.PActivity;
import com.piccolo.wrapper.client.component.JSNI.PActivitySchedulerJSNI;

public class PActivitySchedulerOverlay extends Overlay 
{
	protected PActivitySchedulerOverlay(){}
	private static PActivitySchedulerJSNI impl = new PActivitySchedulerJSNI(); 
	public static PActivitySchedulerOverlay create(int frameRate) { return impl.create(frameRate); }
	public final void schedule(PActivity activity) { impl.schedule(this, activity.getOverlay()); }
	public final double getGlobalTime() { return impl.getGlobalTime(this); }
}
